<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Busqueda de Diagnostico</title>
    
    <link href="../../Ginecobstetricia/vista/busqueda/content/styles.css" rel="stylesheet" />
    <link href="../../Ginecobstetricia/vista/css/bootstrap-combined.min.css" rel="stylesheet">
        
        
    <!-- LIBRERIAS JQUERY PARA LA CREACION DE LAS ALERTAS -->
    <script type="text/javascript" src="../../Ginecobstetricia/vista/js/alertify.js"></script>
    <link rel="stylesheet" href="../../Ginecobstetricia/vista/css/alertify.core.css" />
    <link rel="stylesheet" href="../../Ginecobstetricia/vista/css/alertify.default.css" />
        
    <script>
        
            function validar(){
                        if($("#certi").val() === ""){
                            alertify.alert("<b> INGRESE EL NOMBRE DEL DIAGNOSTICO </b>", function () {
                                    $("#autocomplete-ajax-x").focus();
                            });
                            return false;
                        }
                        
           
            }
    </script>    
</head>
<body>
    <table id="adiag">
        <tr>
            <td align="center">
                NO SE ENCUENTRA NINGUN DIAGNOSTICO DE INGRESO
            </td>
            <td style="width: 100px">
                
                <a href="#" onclick="opener.document.forms['ginecob']['di'].value = document.getElementById('autocomplete-ajax').value; window.close(); return false;"><input id="agregar" type="button" value="Agregar Diagnostico" style="color:#42A2FC"/></a>
            </td>
            <td>
                <input id="agregar2" type="submit" value="Cancelar" style="color:#42A2FC" onclick="window.close();"/>
            </td>
        </tr>
        <tr>
            <td style="height: 10px"></td><td></td><td></td>
        </tr>
        <tr>
            <td>
                <div class="container">
                    <div style="position: relative; height: 80px;">
                        <input placeholder="INGRESE CODIGO O NOMBRE DEL DIAGNOSTICO" type="text" name="country" id="autocomplete-ajax" style="position: absolute;  z-index: 2; background: transparent;width: 1050px;"/>
                        <input type="text" name="country" id="autocomplete-ajax-x" disabled="disabled" style="color: #CCC;  position: absolute; background: transparent; z-index: 1;width: 1050px;"/>
                    </div>
                </div>
            </td>
         </tr>
    </table> 
        
    <!-- libreria, css, js para la busqueda -->
    <script type="text/javascript" src="../../Ginecobstetricia/vista/busqueda/scripts/jquery-1.8.2.min.js"></script>
    <script type="text/javascript" src="../../Ginecobstetricia/vista/busqueda/scripts/jquery.mockjax.js"></script>
    <script type="text/javascript" src="../../Ginecobstetricia/vista/busqueda/src/jquery.autocomplete.js"></script>
    <script type="text/javascript" src="../../Ginecobstetricia/vista/busqueda/scripts/demo.js"></script>
</body>
</html>


